import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import moment from "moment";
import { Message } from "view-design";
// @ts-ignore
import VueTour from "vue-tour";

moment.locale("zh-cn");

require("vue-tour/dist/vue-tour.css");

Vue.prototype.$Message = Message;
Vue.use(VueTour);
Vue.config.productionTip = process.env.NODE_ENV !== "production";
const history = localStorage.getItem("tour") || "{}";
localStorage.setItem("tour", JSON.stringify(Object.assign(require("./assets/tourGuid.json"), JSON.parse(history))));
new Vue({
	router,
	store,
	render: h => h(App)
}).$mount("#app");
